package com.hibernate;

import java.sql.Timestamp;

/**
 * Download entity. @author MyEclipse Persistence Tools
 */

public class Download implements java.io.Serializable {

	// Fields

	private Integer id;
	private Category category;
	private Userinfo userinfo;
	private String name;
	private String introduction;
	private String uppath;
	private String jre;
	private String language;
	private String filesize;
	private Long ispublish;
	private Timestamp pubtime;

	// Constructors

	/** default constructor */
	public Download() {
	}

	/** full constructor */
	public Download(Category category, Userinfo userinfo, String name,
			String introduction, String uppath, String jre, String language,
			String filesize, Long ispublish, Timestamp pubtime) {
		this.category = category;
		this.userinfo = userinfo;
		this.name = name;
		this.introduction = introduction;
		this.uppath = uppath;
		this.jre = jre;
		this.language = language;
		this.filesize = filesize;
		this.ispublish = ispublish;
		this.pubtime = pubtime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Category getCategory() {
		return this.category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public Userinfo getUserinfo() {
		return this.userinfo;
	}

	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIntroduction() {
		return this.introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getUppath() {
		return this.uppath;
	}

	public void setUppath(String uppath) {
		this.uppath = uppath;
	}

	public String getJre() {
		return this.jre;
	}

	public void setJre(String jre) {
		this.jre = jre;
	}

	public String getLanguage() {
		return this.language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getFilesize() {
		return this.filesize;
	}

	public void setFilesize(String filesize) {
		this.filesize = filesize;
	}

	public Long getIspublish() {
		return this.ispublish;
	}

	public void setIspublish(Long ispublish) {
		this.ispublish = ispublish;
	}

	public Timestamp getPubtime() {
		return this.pubtime;
	}

	public void setPubtime(Timestamp pubtime) {
		this.pubtime = pubtime;
	}

}